Thread Module (thread)Remove a task from the queue (thread.kill)On this pageRemove a task from the queue (thread.kill) Declaration thread.kill(task_id) Parameters task_id Integer. Description Remove a task from the queue, regardless of whether it has started or completed. Example See the consolidated examples at the end of this chapter